package nc.tb.cube.vo;

import nc.vo.pub.SuperVO;
import nc.vo.pub.lang.UFDateTime;
import nc.vo.pub.lang.UFDouble;

public class CdDataCellVO extends SuperVO {

	public String m_pk_obj;
	public String m_pk_cube;
	
	public UFDouble m_value;
	public String m_textvalue;
	
	public String m_createdby;
	public UFDateTime m_createddate;
	public String m_modifiedby;
	public UFDateTime m_modifieddate;
	public UFDateTime m_ts;
	public Integer m_dr;
	
	public CdDataCellVO() {
		super();
	}

	@Override
	public String getParentPKFieldName() {
		return null;
	}

	@Override
	public String getPKFieldName() {
		return "pk_obj";
	}

	@Override
	public String getTableName() {
		return null;
	}
	
	public String getPrimaryKey() {
		return m_pk_obj;
	}
	public void setPrimaryKey(String newPk_obj) {
		m_pk_obj = newPk_obj;
	}
	
	public String getPk_cube() {
		return m_pk_cube;
	}
	public void setPk_cube(String newPk_cube) {
		m_pk_cube = newPk_cube;
	}
	
	public UFDouble getValue() {
		return m_value;
	}
	public void setValue(UFDouble newValue) {
		m_value = newValue;
	}
	public String getTextvalue() {
		return m_textvalue;
	}
	public void setTextvalue(String newTextvalue) {
		m_textvalue = newTextvalue;
	}

	public String getCreatedby() {
		return m_createdby;
	}
	public UFDateTime getCreateddate() {
		return m_createddate;
	}
	public void setCreatedby(String newCreatedby) {
		m_createdby = newCreatedby;
	}
	public void setCreateddate(UFDateTime newCreateddate) {
		m_createddate = newCreateddate;
	}
	
	public String getModifiedby() {
		return m_modifiedby;
	}
	public UFDateTime getModifieddate() {
		return m_modifieddate;
	}
	public void setModifiedby(String newModifiedby) {
		m_modifiedby = newModifiedby;
	}
	public void setModifieddate(UFDateTime newModifieddate) {
		m_modifieddate = newModifieddate;
	}
	
	public UFDateTime getTs() {
		return m_ts;
	}
	public void setTs(UFDateTime newTs) {
		m_ts = newTs;
	}
	public Integer getDr() {
		return m_dr;
	}
	public void setDr(Integer newDr) {
		m_dr = newDr;
	}
	
	public void setDataValue(String value) {
		setValue(new UFDouble(value));
	}
	public String getDataValue() {
		return getValue().toString();
	}
}
